SET IDENTITY_INSERT [dbo].[store] ON; Select * from store where store_id = 307; if @@ROWCOUNT =0 BEGIN INSERT INTO store ( Store_ID, Description, CompanyName, TradingAs, Address, ContactNo, VATRegNo, RegNo, StoreEmailAddress ) VALUES ('307', 'Cash Crusaders MP Westgate','Cash Crusaders Stores (Pty) Ltd','Cash Crusaders MP Westgate','Shop 70A, Westgate Shopping Centre, Cnr Jakes Gerwel Drive and Morgenster Road, Mitchells Plein','TBA','4270290184','2020/027120/07','TBA'); END ELSE BEGIN UPDATE Store set Description = 'Cash Crusaders MP Westgate',CompanyName = 'Cash Crusaders Stores (Pty) Ltd', TradingAs = 'Cash Crusaders MP Westgate', Address='Shop 70A, Westgate Shopping Centre, Cnr Jakes Gerwel Drive and Morgenster Road, Mitchells Plein', ContactNo = 'TBA', VATRegNo = '4270290184',RegNo = '2020/027120/07', StoreEmailAddress = 'TBA' where Store_ID = 307; END SET IDENTITY_INSERT [dbo].[store] off